import javax.swing.JFrame;
 
/**
* 粒子特效喷薄的彩球
* url: https://blog.csdn.net/mjc1235/article/details/75578495
**/
public class MainUI extends JFrame{
 
	private MyPanel panel;
	public MainUI(){
		panel=new MyPanel();
		this.getContentPane().add(panel);//初始化一个容器,用来在容器上添加一些控件
		
		this.setSize(1300, 1000);
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setVisible(true);
	}
	
	public static void main(String[] args) {
		new MainUI();
 
	}
 
}